Platform Explorer / Nuxeo Platform 2021.48

Contribution org.nuxeo.web.ui.request.contrib--filterConfig

This contribution is part of XML component org.nuxeo.web.ui.request.contrib inside nuxeo-web-ui-3.0.29.jar /OSGI-INF/browser-cache-contrib.xml

Extension Point

Extension point filterConfig of component RequestControllerService.

Registration Order

5
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <filterConfig cacheTime="31536000" cached="true" name="cached_ui_static">
          <!-- if url contains a timestamp param: approximately one year -->
          <pattern>/nuxeo/ui/.*\\?.*ts=.+</pattern>
        </filterConfig>
  • <filterConfig cacheTime="86400" cached="true" name="ui_static">
          <!-- For other web ui resources: trade off between agressive caching and HF applying within 24 hours -->
          <!-- Exclude JS and HTML files due to: https://jira.nuxeo.com/browse/NXP-25595 -->
          <pattern>/nuxeo/ui/.*\.(?!(html|js|jsp)$).*</pattern>
        </filterConfig>

XML Source

<extension point="filterConfig" target="org.nuxeo.ecm.platform.web.common.requestcontroller.service.RequestControllerService">
    <filterConfig cacheTime="31536000" cached="true" name="cached_ui_static">
      <!-- if url contains a timestamp param: approximately one year -->
      <pattern>/nuxeo/ui/.*\\?.*ts=.+</pattern>
    </filterConfig>
    <filterConfig cacheTime="86400" cached="true" name="ui_static">
      <!-- For other web ui resources: trade off between agressive caching and HF applying within 24 hours -->
      <!-- Exclude JS and HTML files due to: https://jira.nuxeo.com/browse/NXP-25595 -->
      <pattern>/nuxeo/ui/.*\.(?!(html|js|jsp)$).*</pattern>
    </filterConfig>
  </extension>